package com.ktwlsoft.archivemanage.domain.dao.repository;

import com.ktwlsoft.archivemanage.domain.dao.entity.ActionSource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author LanJian
 * description: 行为资源相关的操作
 */
@Mapper
public interface IActionSourceMapper {

    List<ActionSource> findByRoleId(Long roleId);

    List<ActionSource> findAllAction();

    List<ActionSource> findByUserName(String userName);

    List<String> findAllActionCodes();

    List<String> findActionCodesByUserName(String userName);
}
